package org.genntii.warehousesystem.domain.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("goods_shipment")
public class GoodsShipment {
    @TableId
    private int id;
    @TableField("order_code")
    private Long orderCode;
    @TableField("warehouse_id")
    private int warehouseId;
    @TableField("operator_id")
    private int operatorId;
    @TableField("goods_id")
    private int goodsId;
    private int num;
    @TableField("shipment_time")
    private LocalDateTime shipmentTime;
}
